package com.imooc.articles_mongodb_project.dto;

import com.imooc.articles_mongodb_project.common.validator.SaveValidator;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class LikesDTO {

    @NotBlank(message = "文章id不能为空",groups = {SaveValidator.class})
    private String articleId;
    @NotBlank(message = "y用户ID不能为空",groups = {SaveValidator.class})
    private String userId;
}
